package com.sharekitchen.dto;

import com.sharekitchen.entity.Room;
import com.sharekitchen.entity.RoomAddress;
import com.sharekitchen.entity.RoomDevice;
import com.sharekitchen.entity.RoomImages;

import java.util.List;

public class RoomDto extends Room{
    private RoomAddress roomAddress;
    private List<RoomDevice> roomDevices;
    private RoomImages roomImages;

    public RoomDto() {
    }

    public RoomDto(RoomAddress roomAddress, List<RoomDevice> roomDevices, RoomImages roomImages) {
        this.roomAddress = roomAddress;
        this.roomDevices = roomDevices;
        this.roomImages = roomImages;
    }

    public RoomDto(String roomId, double star, int roomStatus, int isDelete, RoomAddress roomAddress, List<RoomDevice> roomDevices, RoomImages roomImages) {
        super(roomId, star, roomStatus, isDelete);
        this.roomAddress = roomAddress;
        this.roomDevices = roomDevices;
        this.roomImages = roomImages;
    }

    @Override
    public String toString() {
        return "RoomDto{" +
                "roomAddress=" + roomAddress +
                ", roomDevices=" + roomDevices +
                ", roomImages=" + roomImages +
                '}';
    }

    public RoomAddress getRoomAddress() {
        return roomAddress;
    }

    public void setRoomAddress(RoomAddress roomAddress) {
        this.roomAddress = roomAddress;
    }

    public List<RoomDevice> getRoomDevices() {
        return roomDevices;
    }

    public void setRoomDevices(List<RoomDevice> roomDevices) {
        this.roomDevices = roomDevices;
    }

    public RoomImages getRoomImages() {
        return roomImages;
    }

    public void setRoomImages(RoomImages roomImages) {
        this.roomImages = roomImages;
    }
}
